<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="rich" uri="http://richfaces.ajax4jsf.org/rich"%>
<%@ taglib prefix="a4j" uri="http://richfaces.org/a4j"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="StyleSheet" type="text/css" href="/jsf/style/temp.css" media="screen" />
	<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAmjdf8Alop0GKF_NBWArt3BT5v9-o2r6w0lkNViKnnl2aePIiehQj6bM1FD71xnN0cekKXYXckmwZHw"></script>
	<script type="text/javascript">google.load("maps", "2.81");</script>
	<script type="text/javascript" src="/jsf/scripts/editmap.js"></script>
    <script type="text/javascript" src="http://graargh.returnstrue.com/rajdeep/maps/tools/latlong_tool/v7/src/dragzoom_packed.js"></script>

</head>

<body onload="loadMaps();"  onunload="GUnload()">
<f:view>
	<h:form>
		<a4j:keepAlive beanName="pontoBean" />
		<fieldset>
		   <table class="mainTable" cellpadding="0" cellspacing="0" align="center">
		    <tr>
		      <td colspan="2" id="titleRow" class="headingStyle">LatLong Generator</td>
		    </tr>
		    <tr>
		      <td colspan="2" id="menuRow" class="menubarStyle">
		        <input type="button" class="buttonStyle" onclick="clearMarkers();" value="clear all markers" />
		        <input type="button" class="buttonStyle" onclick="reloadMarkers();" value="reload all markers" />
		        <input type="button" class="buttonStyle" onclick="reset();" value="reset page" />
		      </td>
		    </tr>
		    <tr valign="top">
		      <td style="width:60%; padding: 5px;"> 
		        <div id="map_canvas" class="canvasStyle"></div> 
		      </td>
		      <td style="padding: 5px;">
		        <div id="table_canvas" style="width:100%; height:600px;">
		        </div>
		      </td>
		    </tr>
		    <tr>
		      <td colspan="2" id="copyrightRow" class="copyrightRow">Works best with Firefox 3. Contact <a href="mailto:dua_rajdeep@yahoo.com">Rajdeep</a> with feedback.</td>  
		    </tr>
		  </table> 

		</fieldset>
		<h:commandButton value="Voltar" immediate="true" action="toIndex" styleClass="botoes"/>
	</h:form>
</f:view>
</body>
</html>